//
//  JJTabBarViewController.h
//  DemoPro
//
//  Created by vpjacob on 2017/4/7.
//  Copyright © 2017年 vpjacob. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JJHomeViewController.h"
#import "JJShopViewController.h"
#import "JJFindViewController.h"
#import "JJMeViewController.h"

typedef void(^JJTabBarViewCurrentSelectIndexBlock)(NSInteger index);

@interface JJTabBarViewController : UITabBarController

@property (nonatomic, strong) JJHomeViewController *homeVC;
@property (nonatomic, strong) JJFindViewController *findVC;
@property (nonatomic, strong) JJShopViewController *shopVC;
@property (nonatomic, strong) JJMeViewController *meVC;

@property (nonatomic, copy) JJTabBarViewCurrentSelectIndexBlock selectBlock;


- (void)turnToControllerIndex:(int)index;


#pragma mark - 换导航颜色
// 网络请求成功后重新配置tabbar
- (void)resetTabBar;

// 重新设置导航颜色
//- (void)resetNavBar:(UINavigationBar *)navBar;

@end
